#include "app_device.h"
#include "log/log.h"
#include <unistd.h>
#include "app_bt.h"

int main(int argc, char const *argv[])
{
    // 初始化设备
    Device *device = app_device_init("serial_file");

    // 初始化蓝牙
    app_bt_init(device);

    // 启动设备
    app_device_start();

    sleep(1000);

    app_device_destroy();

    return 0;
}
